Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuke-view

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-view

视图

  • 2.3.12
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

View

  • category: Components
  • chinese: 视图
  • type: 基本

设计思路

View 是一个容器组件,在 Native 端可以理解为 UIView ,在 web 端即 <div> ,它可以任意嵌套,但嵌套层数过深可能会导致页面在安卓5.0以下或部分机型闪退

View 有如下默认样式,在项目中不必重复写:

{
    position: 'relative',
    boxSizing: 'border-box',
    display: 'flex',
    flexDirection: 'column',
}

API

参数说明类型默认值
style样式object
onClick点击事件Function

以及其他通用事件与属性

其他

  • bug、建议联系 @翊晨
  • 钉钉交流群

Keywords

FAQs

Package last updated on 26 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc